package com.inspur.edp.bef.bizentity.webapi;

import io.iec.edp.caf.rest.RESTEndpoint;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BefWebApiServiceConfiguration {
    @Bean
    public BeController getBefWebApi() {
        return new BeController();
    }
    @Bean
    public RESTEndpoint getBefWebApiServiceEndpoint(BeController generateService) {
        return new RESTEndpoint(
                "/dev/main/v1.0/becodegenerate",
                generateService
        );
    }
}
